<div id="header">
		
		<div class="pad">
			
			<h1 id="title"><a href="#"><img src="images/azure-title.png" alt="Azure Admin" /></a></h1>
			
			<div id="info">
				
				<div id="infoText">
					<?php if ($cookie) { ?>
      Your user ID is <?= $cookie['uid'] ?>
    <?php } else { ?>
      <fb:login-button></fb:login-button>
    <?php } ?>

    <div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js"></script>
    <script>
      FB.init({appId: '<?= FACEBOOK_APP_ID ?>', status: true,
               cookie: true, xfbml: true});
      FB.Event.subscribe('auth.login', function(response) {
        window.location.reload();
      });
    </script>

				</div> <!-- #infoText -->
				
				<div class="underlay"></div>
			</div>
			
		</div> <!-- .pad -->
		
	</div>